/* sound.h */

/********************/
/* SOUND-GENERATOR  */
/* for Secure Phone */
/* (C) 2003 by NAH6 */
/********************/

#ifndef __SOUND_H
#define __SOUND_H
#ifdef __cplusplus
extern "C" {
#endif

/*------------*/
/*  INCLUDES  */
/*------------*/

#include "filter.h"

/*-----------*/
/*  DEFINES  */
/*-----------*/

#define E_SOUND_NULLPTR        (-0x7101)

/*====*/

/*--------------*/
/*  STRUCTURES  */
/*--------------*/

struct sound_dseg
{
  unsigned char  sig;
  unsigned short vol;
  unsigned long  len;
  unsigned long  pos;
};

/*--------------*/
/*  PROTOTYPES  */
/*--------------*/

signed short sound_deliver (struct sound_dseg *dseg, signed short **data);

#ifdef __cplusplus
}
#endif
#endif


/*** EOF ***/
